import layoutHeaderAside from '@/layout/header-aside'

const meta = { auth: true }

export default {
    path: '/center',
    name: 'center',
    meta,
    redirect: { name: 'center-password' },
    component: layoutHeaderAside,
    children: (pre => [
        {
            path: 'password',
            name: `${pre}password`,
            component: () => import('@/pages/center/password'),
            meta: { ...meta, title: '修改密码' }
        },
    ])('center-')
}
